home *** CD-ROM | disk | FTP | other *** search
- /* Basic message buffer structure */
- struct mbuf {
- struct mbuf *next; /* Links mbufs belonging to single packets */
- struct mbuf *anext; /* Links packets on queues */
- char *data; /* Active working pointers */
- int16 cnt;
- };
- #define NULLBUF (struct mbuf *)NULL
- void enqueue(),hexdump(),asciidump();
- struct mbuf *alloc_mbuf(),*free_mbuf(),*dequeue(),*copy_p(),*free_p(),*qdata();
- int16 pullup(),append(),dup_p(),len_mbuf(),dqdata(),len_q();
-
-